if((NOT APPLE) AND(NOT WINRT))
  ax_get_resource_path(APP_RES_DIR ${APP_NAME})
  ax_sync_target_res(${APP_NAME} LINK_TO ${APP_RES_DIR} FOLDERS ${content_folder} SYM_LINK 1)

  if((WINDOWS AND(NOT(CMAKE_GENERATOR MATCHES "Ninja"))))
    set_property(TARGET ${APP_NAME} PROPERTY VS_DEBUGGER_WORKING_DIRECTORY "${content_folder}")

    if(NOT DEFINED BUILD_ENGINE_DONE)
      set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT ${APP_NAME})
    endif()
  endif()
elseif(WINRT)
  if(NOT DEFINED BUILD_ENGINE_DONE)
    set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT ${APP_NAME})
  endif()
endif()

if(_AX_USE_PREBUILT) # support windows and linux
  use_ax_compile_define(${APP_NAME})

  include(AXLinkHelpers)
  ax_link_lua_prebuilt(${APP_NAME} ${_AX_ROOT} ${AX_PREBUILT_DIR})
endif()

ax_setup_app_props(${APP_NAME})
